import { request } from './request';

export function getPayments() {
  return request({
    url: '/order/payments?scene=h5',
  });
}

export function createOrder(data) {
  return request({
    url: '/order/role',
    method: 'post',
    data,
  });
}

export function getHandPay() {
  return request({
    url: '/order/pay/handPay',
  });
}
